<!DOCTYPE html>
<html>

<head>
    <title>Do ms-imaging based on a set of given metabolite ions m/z</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="https://mzkit.org/assets/js/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>geom_msimaging {ggplot}</td>
                <td style="text-align: right;">R Documentation</td>
            </tr>
        </table>

        <h2>Do ms-imaging based on a set of given metabolite ions m/z</h2>

        <h3>Description</h3>

        

        <h3>Usage</h3>

        <div style="width: 100%; padding-left: 3%; color: black;">
            <pre><code class='language-R' style="color: black; font-weight:normal;"><strong>geom_msimaging</strong>(<i>mz</i>,
    <i>tolerance</i> = <span style='color: brown;'><strong>"da:0.1"</strong></span>,
    <i>pixel.render</i> = <span style='color: blue !important;'>FALSE</span>,
    <i>TrIQ</i> = <span style='color: green;'>0.99</span>,
    <i>color</i> = <span style='color: brown;'><strong>"viridis:turbo"</strong></span>,
    <i>knnFill</i> = <span style='color: blue !important;'>TRUE</span>,
    <i>colorLevels</i> = <span style='color: green;'>120</span>,
    <i>raster</i> = <span style='color: blue !important;'>NULL</span>);</code></pre>
        </div>

        <h3>Arguments</h3>

        <table>
            
<dt>mz</dt>
<dd><p>A set of target ion m/z values for do imaging. [as double]</p></dd>


<dt>tolerance</dt>
<dd><p>the mass tolerance error vaue for load intensity 
 data for each pixels from the raw data files.</p></dd>


<dt>pixel.render</dt>
<dd><p>[as boolean]</p></dd>


<dt>TrIQ</dt>
<dd><p>the intensity cutoff threshold value for the target 
 ion layer use TrIQ algorithm. [as double]</p></dd>


<dt>color</dt>
<dd><p>the color set name</p></dd>


<dt>knnFill</dt>
<dd><p>[as boolean]</p></dd>


<dt>raster</dt>
<dd><p>the raster annotation image to overlaps, this parameter works when
 the <strong>`pixel_render`</strong> is set to value TRUE.</p></dd>


<dt>env</dt>
<dd><p>[as <a href="/vignettes/clr/SMRUCC/Rsharp/Runtime/Environment.html">Environment</a>]</p></dd>

        </table>


        <h3 style="display: none;">Details</h3>

        

        <h3 style="display: block">Authors</h3>

        BioNovoGene

        <h3>Value</h3>

        this function returns data object in these one of the listed data types: <a href="/vignettes/clr/ggplot/layers/ggplotLayer.html">ggplotLayer</a>, <a href="/vignettes/clr/ggplotMSImaging/layers/MSImagingLayer.html">MSImagingLayer</a>.<h4>clr value class</h4><ul><li><a href="/vignettes/clr/ggplot/layers/ggplotLayer.html">ggplotLayer</a></li><li><a href="/vignettes/clr/ggplotMSImaging/layers/MSImagingLayer.html">MSImagingLayer</a></li></ul>

        <h3 style="display: none;">Examples</h3>

        

        <hr />
        <div style="text-align: center;">[Package <em>ggplot</em> version 1.0.0.0 <a
                href="../ggplot.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="https://mzkit.org/assets/js/R_syntax.js"></script>
<script type="text/javascript" src="https://mzkit.org/assets/js/highlights.js"></script>
<script type="text/javascript">r_highlights("example_r");</script>

</html>